package com.jiuzhi.util;

import java.util.HashMap;

import org.apache.mina.core.session.IoSession;

public class Initialization {

	private static   Initialization initialization=null;
	
	private static   HashMap<String, IoSession> clientMap =new HashMap<String, IoSession>();
	public static  Initialization  getInstance(){
			 synchronized (Initialization.class) {
				 if(initialization==null){
				 initialization=	new Initialization();
			}
		 }
			return initialization; 
	}
	
	public   HashMap<String, IoSession>  getClientMap(){
		return clientMap;
	}
}
